Appearance-Compliant Menu Type Constants
NEW WITH THE APPEARANCE MANAGER
You can pass one of the following constants in theinMenuType
parameter ofGetThemeMenuBackgroundRegion
andDrawThemeMenuBackground
to specify menu type.
enum { kThemeMenuTypePullDown = 0, kThemeMenuTypePopUp = 1, kThemeMenuTypeHierarchical = 2 }; typedef SInt16 ThemeMenuType;Constant descriptions
kThemeMenuTypePullDown
- A pull-down menu.
kThemeMenuTypePopUp
- A pop-up menu.
kThemeMenuTypeHierarchical
- A hierarchical menu.
SPECIAL CONSIDERATIONS
Make sure Appearance Manager 1.0.1 is present before using theThemeMenuType
type or the Appearance-compliant menu type constants. See "Appearance Manager Gestalt Selector Constants" for details on how to determine if the Appearance Manager is present and what its version is, if so.